﻿using System;
using System.Text;
using System.Data;
using System.Collections;
using DataBaseConnection;

namespace DataEntity
{
    /// <summary>
    /// 数据源
    /// </summary>
    public partial class tab_DataSource : IEntity
    {
        public tab_DataSource() { }

        public tab_DataSource(bool Nullable)
            : base(Nullable) { }

        #region 实体成员

        /// <summary>
        /// [连接字符串] - VarChar(255)
        /// </summary>
        public string src_ConnectionString = string.Empty;

        /// <summary>
        /// [数据库类型] - Int
        /// </summary>
        public int? src_DataBaseType = 0;

        /// <summary>
        /// [描述] - VarChar(255)
        /// </summary>
        public string src_Description = string.Empty;

        /// <summary>
        /// [自动编号] - Int
        /// </summary>
        [AutoKey]
        public int? src_ID = 0;

        /// <summary>
        /// [发布日期] - DateTime
        /// </summary>
        public DateTime? src_PubDate = DateTime.Now;

        /// <summary>
        /// [查询语句] - Text(0)
        /// </summary>
        public string src_SelectText = string.Empty;

        /// <summary>
        /// [系统配制] - Bit
        /// </summary>
        public bool? src_IsConfig = false;

        #endregion
    }
}

